/*
 * Kaleidoscope application
 * Common, useful functionality
 *
 * Luke Mitchell 05-04-12
 */

public class Common
{
    // convert a double to an integer
    public static int dtoi (double d)
    {
        return new Double (d).intValue ();
    }
}
